home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / game / patch / LSL-fix.lha / LSL-fix / LSL-fix.doc < prev    next >
Text File  |  1999-01-24  |  10KB  |  232 lines

  1.  
  2. The following Doc and the included mouse pointer are part of the
  3. King`s-Quest-Fix package from Timo Kaikumaa!
  4. I used and changed it with his kindly permission! THANKS AGAIN, Timo!
  5.  
  6.  
  7. L E I S U R E  S U I T  L A R R Y  1  F I X  V 1.1
  8. """"""""""""""""""""""""""""""""""""""""""""""""""
  9.  
  10. Included fixes
  11.  
  12. A patch to remove protection and fix the closing screen problem on OS2+.
  13. A better looking(?) mouse pointers for the game.
  14. Information about changing the game palette.
  15.  
  16.  
  17. Introduction
  18.  
  19. In their very first Amiga adventures made during the years 1986 and 1987
  20. Sierra used a somewhat nasty copy protection method. The game disk looked
  21. like a standard AmigaDos disk, but on it there was one file (whose name
  22. simply consisted of 8 spaces) with a deliberate read/write error. One
  23. couldn't execute the game unless the broken file was available. Although
  24. this was no problem when playing from the original disk, the unlucky user
  25. of more recent days will not be able to install the game on hard disk at
  26. all.
  27.  
  28. But the fix is here. This patch will modify the game executable and remove
  29. all references to the protected file thus allowing the user to copy all
  30. game files wherever he or she wants to. Currently only one version of
  31. Leisure Suit Larry 1 is supported, namely one from the year 1987. Also
  32. the irritating problem that the game is not able to close its screen upon
  33. quitting when using OS 2.04 or newer is corrected.
  34.  
  35. Note that this fix is only for the original Leisure Suit Larry 1.
  36.  
  37.  
  38. How to proceed
  39.  
  40. As you may have already noticed, I haven't included a standard Amiga
  41. Installer script or actually any installation scripts at all. This is
  42. because it would be too easy to destroy your original game disk with
  43. incorrect use of a ready-to-use script (people do not usually read
  44. documents unless they have to, and so they might try this patch on their
  45. original disk). It is also because I'm lazy.
  46.  
  47. In the following, you have to type in various commands. Do not type
  48. the « and » characters around commands. They are just separating the
  49. commands and some indicated file names from the rest of this text.
  50.  
  51. In order to install the game the following steps need to be made:
  52.  
  53. · First, make sure the original disk is write-protected.
  54.  
  55. · Now, make a copy of the original disk. Don't worry if you tried to run
  56.   the game from the duplicated disk - it won't work yet. You can use any
  57.   copier you want. The only requirement is that the disk is processed
  58.   track-by-track basis. For example, Workbench DiskCopy, XCopy, SuperDuper
  59.   or even DMS will do fine.
  60.  
  61.   Actually you could also work with the original disk as well, but this is
  62.   strongly discouraged. If something goes wrong during the following steps,
  63.   you might cause a permanent damage on your original game disk! By using
  64.   the copy of the original disk, all you are able to destroy is just the
  65.   copy.
  66.  
  67. · Put the original disk in a safe place. It is not needed anymore.
  68.  
  69. · Insert the duplicated disk into any drive. Open a Shell (or CLI) and
  70.   change your current directory onto that drive (e.g. by typing «CD DF0:»
  71.   if you are using the internal drive DF0:)
  72.  
  73. · The game executable (file named «LSL») has a strange set of file
  74.   protection flags. They need to be changed first so that file could be
  75.   modified. Type «Protect LSL +rwed» to set the common protection flags.
  76.   You can also type «Protect LSL -hspa» to remove the non-common flags.
  77.  
  78. · Now you should be aware of the directory where the files coming along
  79.   with this document are resided. Let's say they are in a directory called
  80.   «RAM:LSL-fix/». In the likely case they are somewhere else, replace
  81.   references to this example directory with their actual location.
  82.  
  83.   Type in the following command:
  84.   «RAM:LSL-fix/SPatch -oLSL -pRAM:LSL-fix/LSL.pch LSL».
  85.  
  86.   This will make all necessary modifications to the game executable.
  87.   Note that the file is longer after this operation.
  88.   (Original: 91440 Bytes Patched: 100236 Bytes!)
  89.  
  90. · You can now delete the protected file (the one with the read/write error):
  91.   «Delete "        "» (there are 8 spaces in the name).
  92.  
  93. · The patched version of the game supports separate image for the mouse
  94.   pointer in the so-called busy state (busy state takes place for example
  95.   when the game is loading data from disk and cannot respond to your
  96.   commands). The busy pointer image is stored in a file called «busy»,
  97.   and is copied into its place with command «Copy RAM:LSL-fix/busy Data/».
  98.  
  99.   (Note also that all further comments about the actual mouse pointer
  100.   apply to the busy pointer as well.)
  101.  
  102. · If you would like to have a nicer-looking mouse pointer image in the game,
  103.   try this: «Copy RAM:LSL-fix/pointer Data/». Otherwise ignore this step.
  104.   See the option chapter below for further information on the subject.
  105.  
  106. · That's it. You can now install the game wherever you want to by just
  107.   copying all the files from the disk to your favourite location. Note that
  108.   although the game originally won't run unless a volume called «LSL:»
  109.   is present, such restriction no longer exist. Wish you relabel the game
  110.   disk you are free to do so.
  111.  
  112.   Assuming you have created a directory for the game called «SYS:games/LSL/»
  113.   you can copy the files for example by typing «Copy "" SYS:games/LSL/ ALL».
  114.  
  115.  
  116. Options
  117.  
  118. There are two things in here: palette and the mouse pointer of the game.
  119. First, let's talk about the pointer. In my opinion the mouse pointer of
  120. the first generation of Sierra adventures looks pretty ugly. The image
  121. of the pointer is stored in a file called «pointer» located in «Data»
  122. subdirectory in respect to the main directory (installed games)  or root
  123. directory of the disk (non-installed games). This file is 80 bytes long
  124. and contains the binary representation of the pointer sprite in hexadecimal
  125. format. The user of a hex editor can easily figure out how this file is
  126. organized by testing different patterns in here (the file has nothing extra
  127. in it, just the raw pointer data). The pointer included in this software
  128. archive is something that suits my taste, but nothing more. Feel free to
  129. create even better looking pointer, if you think that my version is an
  130. ugly one too!
  131.  
  132. Another thing to discuss are the colors used in old Sierra adventures.
  133. Actually, in all versions of Leisure Suit Larry 1 I have seen the colors
  134. are quite ok, but in some other Sierra games of that age they are not.
  135. For instance the skin color might be just too reddish. To make things
  136. complete, I'll also describe how colors can be altered. To begin with,
  137. here are the palette informations from various Sierra 16-color adventures.
  138.  
  139. The color scheme used in 1987 version of King's Quest 1:
  140.  
  141.   000, 00F, 080, 0DB, C00, B7D, 850, BBB,
  142.   777, 0BF, 0E0, 0FD, F98, F70, EE0, FFF.
  143.  
  144. The palette used in 1989 King's Quest 3:
  145.  
  146.   000, 00B, 0B0, 0BB, B00, B0B, C70, BBB,
  147.   777, 00F, 0F0, 0FF, F00, F0F, FF0, FFF.
  148.  
  149. Finally, a palette from more modern Sierra games (this one is taken
  150. from King's Quest 4):
  151.  
  152.   000, 008, 080, 088, 800, 808, 830, 888,
  153.   555, 44F, 0F0, 0FF, F44, F0F, FF0, FFF.
  154.  
  155. TIP: Use the KQ4 Palette for your Games and change the Value F44
  156.      (2nd Line, 4th from behind!) to F98. You get strong Colors
  157.      and a beautiful Skin Color! ;-)
  158.  
  159. All the above information was taken by using the «Palette» tool included
  160. in the good old OS1.3. The program opens up a palette requester on the
  161. frontmost screen, even if this happens to be a screen owned by a Sierra
  162. game. To make that work, you need to have e.g. the icon for Palette
  163. available in the top portion of the Workbench. Now, when the game is
  164. running, pull its screen downwards enough to make the Palette icon
  165. visible. Then double-click the icon to start the Palette program. It
  166. should show up on the game screen. This allows you to play with the
  167. colors and even use the altered palette as long as the game is running.
  168. But the palette information still needs to be saved in the game
  169. executable.
  170.  
  171. Again, a hex editor comes handy. The file to be edited is the main
  172. executable, the same file that has already been patched. In this point
  173. it might be a good idea to tell how the above information is present in
  174. the file.
  175.  
  176. All color components are stored as a separate words in successive
  177. locations. For instance the colors of the 1987 version of the game form
  178. the following hexadecimal string (the spaces and commas are only used
  179. to make this readable, in reality they naturally don't exist):
  180.  
  181.   0000 0000 0000, 0000 0000 000F, 0000 0008 0000, 0000 000D 000B,
  182.   000C 0000 0000, 000B 0007 000D, 0008 0005 0000, 000B 000B 000B,
  183.   0007 0007 0007, 0000 000B 000F, 0000 000E 0000, 0000 000F 000D,
  184.   000F 0009 0008, 000F 0007 0000, 000E 000E 0000, 000F 000F 000F.
  185.  
  186. To change this information, one first needs to find out the exact
  187. position of these bytes. Some byte combinations (especially those
  188. with all zeros) may exist also somewhere else in the file, therefore
  189. it is suggested to search for the palette by using the bytes of light
  190. grey color (000B000B000B) as a search key because such bytes are
  191. unlikely to occur anywhere else.
  192.  
  193.  
  194. Disclaimer
  195.  
  196. You are using this software at your own risk! Under no circumstances will the
  197. author be liable for any direct on indirect damage or data loss resulting
  198. from the use or misuse of these files or the documents.
  199.  
  200. Using the patch for anything but your personal needs (to spread unprotected
  201. copies of the game, for instance) is illegal and strongly prohibited.
  202.  
  203.  
  204. History
  205.  
  206. V1.1  -  Removed obsolete hunks in new version of LSL! Makes the
  207.          executable smaller!
  208.  
  209.          I know that's Sierra's job, but, hey, the patch isn't from
  210.          Sierra either!    ;-)
  211.  
  212. V1.0  -  First public release! Well, in fact it was stolen from Timo! :-)
  213.  
  214.  
  215. Authors
  216.  
  217. Timo Kaikumaa
  218. Atanväylä 14 C 12
  219. 33580 Tampere
  220. FINLAND
  221.  
  222. E-mail:    timok@cs.tut.fi
  223. Home page: http://www.cs.tut.fi/~timok (currently in Finnish only)
  224.  
  225. Hubert Maier jun.
  226. Grashof 5
  227. 83324 Ruhpolding
  228. GERMANY
  229.  
  230. E-mail:    Hubert_LH@TalkNet.de
  231. Home page: Maybe in the Future! MAY BE! :-)
  232.